name="mark  mark  mark"
print(name.count("ar"))
print(name.count("ar",0,5))
print(name.count("ar",5))
